using My.ExcelToData.ExcelDatas;
using My.ExcelToData.ExcelDatas.Dtos;
using AutoMapper;

namespace My.ExcelToData;

public class ExcelToDataApplicationAutoMapperProfile : Profile
{
    public ExcelToDataApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<ExcelData, ExcelDataDto>();
        CreateMap<CreateUpdateExcelDataDto, ExcelData>(MemberList.Source);
    }
}
